import platform = require('../../../../../../platform/common/baseCommon');
import appClient = require('../../../../../../platform/client/appClient');
import platformControls = require('../../../../../../platform/client/controls');
import report = require('../../../../../../platform/client/report');

// 数据服务
let dataService1 = new appClient.asyncFactory(platform.IDataService, "remoteCall", "testexample");

// 数据获取器
/** 获取器:纳税人信息 */
let fetcher_nsrxx = new report.dataServiceFetcher();
fetcher_nsrxx.name = "fetcher_xkzzsfpqyfx_nxrxx";
fetcher_nsrxx.command = "cmd_query_xkzzsfpqyfx_nxrxx";
fetcher_nsrxx.dataService = dataService1;
let fetcher_nsrxxmap = new report.dataServiceFetcher();
fetcher_nsrxxmap.name = "fetcher_xkzzsfpqyfx_nxrxxmap";
fetcher_nsrxxmap.command = "cmd_query_xkzzsfpqyfx_nxrxxmap";
fetcher_nsrxxmap.dataService = dataService1;
/** 获取器:纳税人信息扩展 */
let fetcher_nsrxxkz = new report.dataServiceFetcher();
fetcher_nsrxxkz.name = "fetcher_xkzzsfpqyfx_nsrxxkz";
fetcher_nsrxxkz.command = "cmd_query_xkzzsfpqyfx_nsrxxkz";
fetcher_nsrxxkz.dataService = dataService1;
/** 获取器:开票信息 */
let fetcher_kpxx = new report.dataServiceFetcher();
fetcher_kpxx.name = "fetcher_xkzzsfpqyfx_kpxx";
fetcher_kpxx.command = "cmd_query_xkzzsfpqyfx_kpxx";
fetcher_kpxx.dataService = dataService1;
/** 获取器:开票信息趋势图 */
let fetcher_kpxxqst = new report.dataServiceFetcher();
fetcher_kpxxqst.name = "fetcher_xkzzsfpqyfx_kpxxqst";
fetcher_kpxxqst.command = "cmd_query_xkzzsfpqyfx_kpxxqst";
fetcher_kpxxqst.dataService = dataService1;
/** 获取器:作废发票信息 */
let fetcher_zffpxx = new report.dataServiceFetcher();
fetcher_zffpxx.name = "fetcher_xkzzsfpqyfx_zffpxx";
fetcher_zffpxx.command = "cmd_query_xkzzsfpqyfx_zffpxx";
fetcher_zffpxx.dataService = dataService1;
/** 获取器:作废发票年度占比 */
let fetcher_ndfpzb = new report.dataServiceFetcher();
fetcher_ndfpzb.name = "fetcher_xkzzsfpqyfx_ndfpzb";
fetcher_ndfpzb.command = "cmd_query_xkzzsfpqyfx_ndfpzb";
fetcher_ndfpzb.dataService = dataService1;
/** 获取器:红字发票信息 */
let fetcher_hzfpxx = new report.dataServiceFetcher();
fetcher_hzfpxx.name = "fetcher_xkzzsfpqyfx_hzfpxx";
fetcher_hzfpxx.command = "cmd_query_xkzzsfpqyfx_hzfpxx";
fetcher_hzfpxx.dataService = dataService1;
/** 获取器:利润表 */
let fetcher_lrb = new report.dataServiceFetcher();
fetcher_lrb.name = "fetcher_xkzzsfpqyfx_lrb";
fetcher_lrb.command = "cmd_query_xkzzsfpqyfx_lrb";
fetcher_lrb.dataService = dataService1;
/** 获取器:资产负债表 */
let fetcher_zcfzb = new report.dataServiceFetcher();
fetcher_zcfzb.name = "fetcher_xkzzsfpqyfx_zcfzb";
fetcher_zcfzb.command = "cmd_query_xkzzsfpqyfx_zcfzb";
fetcher_zcfzb.dataService = dataService1;
/** 获取器:法人关联信息 */
let fetcher_frglxx = new report.dataServiceFetcher();
fetcher_frglxx.name = "fetcher_xkzzsfpqyfx_frglxx";
fetcher_frglxx.command = "cmd_query_xkzzsfpqyfx_frglxx";
fetcher_frglxx.dataService = dataService1;


// 数据获取器
let fetcher_test1 = new report.dataServiceFetcher();
fetcher_test1.name = "fetcher_test1";
fetcher_test1.command = "cmd_test1";
fetcher_test1.dataService = dataService1;

let fetcher_test2 = new report.dataServiceFetcher();
fetcher_test2.name = "fetcher_test2";
fetcher_test2.command = "cmd_test2";
fetcher_test2.dataService = dataService1;

// 数据源
/** 数据源:纳税人信息 */
let dataSource_test1 = new platform.dataQuerySource();
dataSource_test1.name = "dataSource_test1";
dataSource_test1.fetcher = fetcher_test1;
dataSource_test1.paramKeyList = {
    "FDDBRSFZJHM": "法人证件号码"
};

let paramKeyListTest = {
    "FDDBRSFZJHM": "FDDBRSFZJHM",
    "CWFZRSFZJHM": "FDDBRSFZJHM"
};


// 数据源
/** 数据源:纳税人信息 */
let dataSource_nsrxx = new platform.dataQuerySource();
dataSource_nsrxx.name = "data_xkzzsfpqyfx_nxrxx";
dataSource_nsrxx.fetcher = fetcher_nsrxx;
/** 数据源:带经纬度纳税人信息 */
let dataSource_nsrxxmap = new platform.dataQuerySource();
dataSource_nsrxxmap.name = "data_xkzzsfpqyfx_nxrxxmap";
dataSource_nsrxxmap.fetcher = fetcher_nsrxxmap;
let paramKeyList = { "djxh": "登记序号" };
/** 数据源:纳税人信息扩展 */
let dataSource_nsrxxkz = new platform.dataQuerySource();
dataSource_nsrxxkz.name = "data_xkzzsfpqyfx_nsrxxkz";
dataSource_nsrxxkz.fetcher = fetcher_nsrxxkz;
dataSource_nsrxxkz.paramKeyList = paramKeyList;
/** 数据源:开票信息 */
let dataSource_kpxx = new platform.dataQuerySource();
dataSource_kpxx.name = "data_xkzzsfpqyfx_kpxx";
dataSource_kpxx.fetcher = fetcher_kpxx;
dataSource_kpxx.paramKeyList = paramKeyList;
/** 数据源:开票信息趋势图 */
let dataSource_kpxxqst = new platform.dataQuerySource();
dataSource_kpxxqst.name = "data_xkzzsfpqyfx_kpxxqst";
dataSource_kpxxqst.fetcher = fetcher_kpxxqst;
dataSource_kpxxqst.paramKeyList = paramKeyList;
/** 数据源:作废发票信息 */
let dataSource_zffpxx = new platform.dataQuerySource();
dataSource_zffpxx.name = "data_xkzzsfpqyfx_zffpxx";
dataSource_zffpxx.fetcher = fetcher_zffpxx;
dataSource_zffpxx.paramKeyList = paramKeyList;
/** 数据源:作废发票年度占比 */
let dataSource_ndfpzb = new platform.dataQuerySource();
dataSource_ndfpzb.name = "data_xkzzsfpqyfx_ndfpzb";
dataSource_ndfpzb.fetcher = fetcher_ndfpzb;
dataSource_ndfpzb.paramKeyList = paramKeyList;
/** 数据源:红字发票信息 */
let dataSource_hzfpxx = new platform.dataQuerySource();
dataSource_hzfpxx.name = "data_xkzzsfpqyfx_hzfpxx";
dataSource_hzfpxx.fetcher = fetcher_hzfpxx;
dataSource_hzfpxx.paramKeyList = paramKeyList;
/** 数据源:利润表 */
let dataSource_lrb = new platform.dataQuerySource();
dataSource_lrb.name = "data_xkzzsfpqyfx_lrb";
dataSource_lrb.fetcher = fetcher_lrb;
dataSource_lrb.paramKeyList = paramKeyList;
/** 数据源:资产负债表 */
let dataSource_zcfzb = new platform.dataQuerySource();
dataSource_zcfzb.name = "data_xkzzsfpqyfx_zcfzb";
dataSource_zcfzb.fetcher = fetcher_zcfzb;
dataSource_zcfzb.paramKeyList = paramKeyList;
/** 数据源:法人关联信息 */
let dataSource_frglxx = new platform.dataQuerySource();
dataSource_frglxx.name = "data_xkzzsfpqyfx_frglxx";
dataSource_frglxx.fetcher = fetcher_frglxx;
dataSource_frglxx.paramKeyList = {
    "fddbrxm": "法人",
    "cwfzrxm": "法人",
    "bsrxm": "法人",
    "fddbrsfzjhm": "法人证件号码",
    "cwfzrsfzjhm": "法人证件号码",
    "bsrsfzjhm": "法人证件号码"
};

/** 数据显示器:参数输入 */
let paramReport = new report.parameterControl();


/**
 * 法人财务人员相同04
 */
let frcwryxtFieldEdit = new report.fieldEditInfo();
frcwryxtFieldEdit.name = "r04";
let frcwryxtControl = new platformControls.checkEditControl();

frcwryxtControl.caption = "法人财务人员相同";
frcwryxtControl.defaultValue = true;
frcwryxtFieldEdit.editControl = frcwryxtControl;
/**
 * 注册地址异常11
 */
let zcdzycFieldEdit = new report.fieldEditInfo();
zcdzycFieldEdit.name = "r11";
let zcdzycControl = new platformControls.checkEditControl();

zcdzycControl.caption = "注册地址异常";
zcdzycFieldEdit.editControl = zcdzycControl;
/**
 * 相同法人15
 */
let xtfrFieldEdit = new report.fieldEditInfo();
xtfrFieldEdit.name = "r15";
let xtfrControl = new platformControls.checkEditControl();
xtfrControl.caption = "相同法人";
xtfrFieldEdit.editControl = xtfrControl;
/**
 * 担任非正常户法人财务人员18
 */
let fzchfrcwryFieldEdit = new report.fieldEditInfo();
fzchfrcwryFieldEdit.name = "r18";
let fzchfrcwryControl = new platformControls.checkEditControl();
fzchfrcwryControl.caption = "担任非正常户法人财务人员";
fzchfrcwryFieldEdit.editControl = fzchfrcwryControl;
/**
 * 发票大量作废2
 */
let fpdlzfFieldEdit = new report.fieldEditInfo();
fpdlzfFieldEdit.name = "r02";
let fpdlzfControl = new platformControls.checkEditControl();

fpdlzfControl.caption = "发票大量作废";
fpdlzfFieldEdit.editControl = fpdlzfControl;
/**
 * 发票大量红字7
 */
let fpdlhzFieldEdit = new report.fieldEditInfo();
fpdlhzFieldEdit.name = "r07";
let fpdlhzControl = new platformControls.checkEditControl();

fpdlhzControl.caption = "发票大量红字";
fpdlhzFieldEdit.editControl = fpdlhzControl;
/**
 * 开票金额突增9
 */
let kpjetzFieldEdit = new report.fieldEditInfo();
kpjetzFieldEdit.name = "r09";
let kpjetzControl = new platformControls.checkEditControl();

kpjetzControl.caption = "开票金额突增";
kpjetzFieldEdit.editControl = kpjetzControl;
/**
 * 成立时间短规模扩张快10
 */
let clsjdgmkzkFieldEdit = new report.fieldEditInfo();
clsjdgmkzkFieldEdit.name = "r10";
let clsjdgmkzkControl = new platformControls.checkEditControl();

clsjdgmkzkControl.caption = "成立时间短规模扩张快";
clsjdgmkzkFieldEdit.editControl = clsjdgmkzkControl;

/**
 * 纳税人名称
 */
let nsrmcFieldEdit = new report.fieldEditInfo();
nsrmcFieldEdit.name = "nsrmc";
let nsrmcControl = new platformControls.fieldEditControl();
nsrmcControl.frontLabel = "纳税人名称";
nsrmcFieldEdit.editControl = nsrmcControl;
/**
 * 行业
 */
let hyFieldEdit = new report.fieldEditInfo();
hyFieldEdit.name = "hymc";
hyFieldEdit.defaultData = ["农业", "IT", "制造", "高科技", "新能源"];
let hyControl = new platformControls.fieldEditControl();
hyControl.frontLabel = "行业";
hyControl.typeahead = true;
hyFieldEdit.editControl = hyControl;
/**
 * 区域
 */
let qyFieldEdit = new report.fieldEditInfo();
qyFieldEdit.name = "qy";
let qyControl = new platformControls.fieldEditControl();
qyControl.frontLabel = "区域";
qyFieldEdit.editControl = qyControl;
/**
 * 纳税人识别号
 */
let nsrsbhFieldEdit = new report.fieldEditInfo();
nsrsbhFieldEdit.name = "nsrsbh";
let nsrsbhControl = new platformControls.fieldEditControl();
nsrsbhControl.frontLabel = "纳税人识别号";
nsrsbhFieldEdit.editControl = nsrsbhControl;

let dxkFieldEdit = new report.fieldEditInfo();
dxkFieldEdit.name = "dxk"
let dxkControl = new platformControls.selectEditControl();
dxkControl.caption = "多选框";
dxkFieldEdit.defaultData = [{ name: "示例1", caption: "Demo1", id: 1 }, { name: "示例2", caption: "Demo2", id: 2 }, { name: "示例3", caption: "Demo3", id: 3 }];
dxkControl.showField = "name";
dxkControl.valueField = "id";
dxkFieldEdit.editControl = dxkControl;

paramReport.name = "report_xkzzsfpqyfx_parameters";
paramReport.fields = [frcwryxtFieldEdit, zcdzycFieldEdit, xtfrFieldEdit, fzchfrcwryFieldEdit, fpdlzfFieldEdit, fpdlhzFieldEdit, kpjetzFieldEdit, clsjdgmkzkFieldEdit, nsrmcFieldEdit, hyFieldEdit, dxkFieldEdit, qyFieldEdit, nsrsbhFieldEdit];
paramReport.caption = "查询条件";
paramReport.dataSourceNames = ["data_xkzzsfpqyfx_nxrxx", "data_xkzzsfpqyfx_nxrxxmap"];
paramReport.dataViews = {};
paramReport.queryCount = 100;
/** 数据显示器:纳税人信息 */
let tableReport_nsrxx = new report.gridDataDisplayer();
tableReport_nsrxx.name = "report_xkzzsfpqyfx_nsrxx";
tableReport_nsrxx.caption = "纳税人信息";
tableReport_nsrxx.dataSourceNames = ["data_xkzzsfpqyfx_nsrxxkz", "data_xkzzsfpqyfx_kpxx"
    , "data_xkzzsfpqyfx_kpxxqst", "data_xkzzsfpqyfx_zffpxx"
    , "data_xkzzsfpqyfx_ndfpzb", "data_xkzzsfpqyfx_lrb"
    , "data_xkzzsfpqyfx_zcfzb", "data_xkzzsfpqyfx_frglxx"
    , "data_xkzzsfpqyfx_hzfpxx", "dataSource_test1"];
tableReport_nsrxx.dataViews = {};
let tableView_nsrxx = new platform.dataView();
tableView_nsrxx.dataSourceName = "data_xkzzsfpqyfx_nxrxx";
tableReport_nsrxx.dataViews["view_table"] = tableView_nsrxx;
tableReport_nsrxx.groupName = "group_nsrxx";
/** 纳税人信息地图 */
let tableReport_nsrxxmap = new report.echartScatterMapDataDisplayer();
tableReport_nsrxxmap.name = "report_xkzzsfpqyfx_qyfbt";
tableReport_nsrxxmap.caption = "企业分布图";
tableReport_nsrxxmap.style("height", 400);
tableReport_nsrxxmap.dataViews = {};
let mapView = new platform.dataView();
mapView.dataSourceName = "data_xkzzsfpqyfx_nxrxxmap";
tableReport_nsrxxmap.dataViews["view_map"] = mapView;
tableReport_nsrxxmap.longitudeField = "经度";
tableReport_nsrxxmap.latitudeField = "纬度";
tableReport_nsrxxmap.nameField = "纳税人名称";
tableReport_nsrxxmap.groupName = "group_nsrxx";

/** 数据显示器:纳税人信息扩展 */
let tableReport_nsrxxkz = new report.detailedDataDisplayer();
tableReport_nsrxxkz.name = "report_xkzzsfpqyfx_nsrxxkz";
tableReport_nsrxxkz.caption = "扩展信息";
tableReport_nsrxxkz.dataViews = {};
let tableView_nsrxxkz = new platform.dataView();
tableView_nsrxxkz.dataSourceName = "data_xkzzsfpqyfx_nsrxxkz";
tableReport_nsrxxkz.dataViews["view_table"] = tableView_nsrxxkz;
tableReport_nsrxxkz.groupName = "group_nsrxxmx";
/** 数据显示器:开票信息统计 */
let tableReport_kpxxtj = new report.gridDataDisplayer();
tableReport_kpxxtj.name = "report_xkzzsfpqyfx_kpxxtj";
tableReport_kpxxtj.caption = "开票统计";
tableReport_kpxxtj.dataSourceNames = [];
tableReport_kpxxtj.dataViews = {};
let tableView_kpxxtj = new platform.dataView();
tableView_kpxxtj.dataSourceName = "data_xkzzsfpqyfx_kpxx";
tableReport_kpxxtj.dataViews["view_table"] = tableView_kpxxtj;
tableReport_kpxxtj.groupName = "group_nsrxxmx";
/** 数据显示器:开票信息趋势图 */
let tableReport_kpxxqst = new report.echartBrokenlineDataDisplayer();
tableReport_kpxxqst.name = "report_xkzzsfpqyfx_kpxxqst";
tableReport_kpxxqst.caption = "开票趋势";
tableReport_kpxxqst.dataSourceNames = [];
tableReport_kpxxqst.dataViews = {};
/** 数据显示器: 开票趋势*/
let tableView_kpxxqst = new platform.dataView();
tableView_kpxxqst.dataSourceName = "data_xkzzsfpqyfx_kpxxqst";
tableReport_kpxxqst.dataViews["view_table"] = tableView_kpxxqst;
tableReport_kpxxqst.groupName = "group_nsrxxmx";
tableReport_kpxxqst.style("height", 300);
tableReport_kpxxqst.xAxisField = "月份";
tableReport_kpxxqst.yAxisField = [
    { name: '总数量', index: 1 },
    { name: '作废数量', index: 1 },
    { name: '红字数量', index: 1 },
    { name: '正常开票金额', index: 0 }
];
tableReport_kpxxqst.yAxis = [{
    type: 'value',
    name: '金额(元)',
    position: 'right'
}, {
    type: 'value',
    name: '数量(张)',
    position: 'left'
}];
tableReport_kpxxqst.options = {
    // tooltip: {
    //     trigger: "axis"
    // },
    // legend: {
    // },
    xAxis: [
        {
            type: 'category',
            data: []
        }
    ],
    yAxis: [
        {
            type: 'value'
        }
    ],
    series: [
        {
            "name": "开票趋势",
            "type": "line",
            "data": []
        }
    ]
};
/** 数据显示器:作废发票信息 */
let tableReport_zffpxx = new report.gridDataDisplayer();
tableReport_zffpxx.name = "report_xkzzsfpqyfx_zffpxx";
tableReport_zffpxx.caption = "作废信息";
tableReport_zffpxx.groupName = "group_nsrxxmx";
tableReport_zffpxx.dataSourceNames = [];
tableReport_zffpxx.dataViews = {};
let tableView_zffpxx = new platform.dataView();
tableView_zffpxx.dataSourceName = "data_xkzzsfpqyfx_zffpxx";
tableReport_zffpxx.dataViews["view_table"] = tableView_zffpxx;
/** 数据显示器:年度发票信息占比情况 */
let piechart_zffpndzb = new report.echartPieDataDisplayer();
piechart_zffpndzb.name = "report_xkzzsfpqyfx_zffpndzb";
piechart_zffpndzb.caption = "年度发票占比";
piechart_zffpndzb.groupName = "group_nsrxxmx";
piechart_zffpndzb.style("height", 300);
piechart_zffpndzb.pieFields = ["红字数量", "作废数量", "正常开票数量"];
piechart_zffpndzb.dataViews = {};
let pieview = new platform.dataView();
pieview.dataSourceName = "data_xkzzsfpqyfx_ndfpzb";
piechart_zffpndzb.dataViews["view_pie"] = pieview;
piechart_zffpndzb.options = {
    // tooltip: {
    //     trigger: 'item',
    //     formatter: "{a} <br/>{b} : {c} ({d}%)"
    // },
    title: [
        { text: "2015", x: '23%', y: '50%', textStyle: { fontSize: "12" } },
        { text: "2016", x: '48%', y: '50%', textStyle: { fontSize: "12" } },
        { text: "2017", x: '73%', y: '50%', textStyle: { fontSize: "12" } }
    ],
    series: [
        {
            "name": "年度发票占比",
            "type": "pie",
            "radius": '60%',
            "center": ['25%', '50%'],
            "data": []
        },
        {
            "name": "年度发票占比",
            "type": "pie",
            "radius": '60%',
            "center": ['50%', '50%'],
            "data": []
        },
        {
            "name": "年度发票占比",
            "type": "pie",
            "radius": '60%',
            "center": ['75%', '50%'],
            "data": []
        }
    ]

};
/** 数据显示器:红字发票信息 */
let tableReport_hzfpxx = new report.gridDataDisplayer();
tableReport_hzfpxx.name = "report_xkzzsfpqyfx_hzfpxx";
tableReport_hzfpxx.caption = "红字信息";
tableReport_hzfpxx.dataSourceNames = [];
tableReport_hzfpxx.dataViews = {};
let tableView_hzfpxx = new platform.dataView();
tableView_hzfpxx.dataSourceName = "data_xkzzsfpqyfx_hzfpxx";
tableReport_hzfpxx.dataViews["view_table"] = tableView_hzfpxx;
tableReport_hzfpxx.groupName = "group_nsrxxmx";
/** 数据显示器:利润 */
let tableReport_cwxx = new report.gridDataDisplayer();
tableReport_cwxx.name = "report_xkzzsfpqyfx_cwxx";
tableReport_cwxx.caption = "利润";
tableReport_cwxx.dataSourceNames = [];
tableReport_cwxx.dataViews = {};
let tableView_cwxx = new platform.dataView();
tableView_cwxx.dataSourceName = dataSource_lrb.name;
tableReport_cwxx.dataViews["view_table"] = tableView_cwxx;
tableReport_cwxx.groupName = "group_nsrxxmx";
/** 数据显示器:资产负债信息 */
let tableReport_zcfzb = new report.gridDataDisplayer();
tableReport_zcfzb.name = "report_xkzzsfpqyfx_zcfzb";
tableReport_zcfzb.caption = "资产负债";
tableReport_zcfzb.dataSourceNames = [];
tableReport_zcfzb.dataViews = {};
let tableView_zcfzb = new platform.dataView();
tableView_zcfzb.dataSourceName = dataSource_zcfzb.name;
tableReport_zcfzb.dataViews["view_table"] = tableView_zcfzb;
tableReport_zcfzb.groupName = "group_nsrxxmx";
/** 数据显示器:法人关联信息 */
let tableReport_frglxx = new report.gridDataDisplayer();
tableReport_frglxx.name = "report_xkzzsfpqyfx_frglxx";
tableReport_frglxx.caption = "关联信息";
tableReport_frglxx.dataSourceNames = [];
tableReport_frglxx.dataViews = {};
let tableView_frglxx = new platform.dataView();
tableView_frglxx.dataSourceName = "data_xkzzsfpqyfx_frglxx";
tableReport_frglxx.dataViews["view_table"] = tableView_frglxx;
tableReport_frglxx.groupName = "group_nsrxxmx";

let tableReport_RelationGraph = new report.echartRelationGraphDataDisplayer();
tableReport_RelationGraph.name = "report_xkzzsfpqyfx_RelationGraph";
tableReport_RelationGraph.caption = "关联信息";
tableReport_RelationGraph.dataSourceNames = [];
tableReport_RelationGraph.dataViews = {};
let tableView_RelationGraph = new platform.dataView();
tableView_RelationGraph.dataSourceName = "dataSource_test1";
tableReport_RelationGraph.dataViews["view_table"] = tableView_RelationGraph;
tableReport_RelationGraph.groupName = "group_nsrxxmx";
tableReport_RelationGraph.style("height", 300);

tableReport_RelationGraph.fetcher = fetcher_test2;
tableReport_RelationGraph.paramKeyList = paramKeyListTest;

tableReport_RelationGraph.showField = "SHOWNAME";

tableReport_RelationGraph.queryField = "FDDBRSFZJHM";

tableReport_RelationGraph.options = {
    title: {
        text: ''
    },
    animationDurationUpdate: 1500,
    animationEasingUpdate: 'quinticInOut',
    label: {
        normal: {
            show: true,
            position: 'bottom',
            textStyle: {
                fontSize: 8
            }
        }
    },
    legend: {
        data: ["法人", "企业"]
    },
    series: [
        {
            "type": 'graph',
            "layout": 'force',
            symbolSize: 40,
            focusNodeAdjacency: true,
            force: {
                repulsion: 1500
            },
            label: {
                normal: {
                    show: true,
                    textStyle: {
                        fontSize: 12
                    }
                }
            },
            edgeSymbol: ['none', 'arrow'],
            edgeSymbolSize: [4, 10],
            lineStyle: {
                normal: {
                    opacity: 0.9,
                    width: 1,
                    curveness: 0
                }
            },
            categories: [{ name: "法人" }, { name: "企业" }],
            itemStyle: {
                emphasis: {
                    borderColor: 'rgb(238,201,0)',
                    borderWidth: 5,
                    opacity: 0
                }
            },
            data: [],
            links: [],
            animationDelay: function (idx: number) {
                return idx * 100;
            }
        }
    ],
    animationDelayUpdate: function (idx: number) {
        return idx * 100;
    }
};
/**
 * 佛山国税智能报表
 * @description 虚开增值税发票企业分析
 */
export let defaultObject = new report.smartReport();
defaultObject.caption = "虚开增值税发票风险排查";
defaultObject.dataSources = {};
defaultObject.dataSources[dataSource_nsrxx.name] = dataSource_nsrxx;
defaultObject.dataSources[dataSource_nsrxxmap.name] = dataSource_nsrxxmap;
defaultObject.dataSources[dataSource_kpxx.name] = dataSource_kpxx;
defaultObject.dataSources[dataSource_nsrxxkz.name] = dataSource_nsrxxkz;
defaultObject.dataSources[dataSource_kpxxqst.name] = dataSource_kpxxqst;
defaultObject.dataSources[dataSource_zffpxx.name] = dataSource_zffpxx;
defaultObject.dataSources[dataSource_hzfpxx.name] = dataSource_hzfpxx;
defaultObject.dataSources[dataSource_lrb.name] = dataSource_lrb;
defaultObject.dataSources[dataSource_zcfzb.name] = dataSource_zcfzb;
defaultObject.dataSources[dataSource_frglxx.name] = dataSource_frglxx;
defaultObject.dataSources[dataSource_ndfpzb.name] = dataSource_ndfpzb;
defaultObject.dataSources[dataSource_test1.name] = dataSource_test1;
defaultObject.layoutPanel = new platformControls.layoutPanel("project/test/config/client/smartReportApp/layout/layout.html");
defaultObject.modules = {};
defaultObject.modules[paramReport.name] = paramReport;
defaultObject.modules[tableReport_nsrxx.name] = tableReport_nsrxx;
defaultObject.modules[tableReport_nsrxxmap.name] = tableReport_nsrxxmap;
defaultObject.modules[tableReport_nsrxxkz.name] = tableReport_nsrxxkz;
defaultObject.modules[tableReport_kpxxtj.name] = tableReport_kpxxtj;
defaultObject.modules[tableReport_kpxxqst.name] = tableReport_kpxxqst;
defaultObject.modules[tableReport_zffpxx.name] = tableReport_zffpxx;
defaultObject.modules[tableReport_hzfpxx.name] = tableReport_hzfpxx;
defaultObject.modules[piechart_zffpndzb.name] = piechart_zffpndzb;
defaultObject.modules[tableReport_cwxx.name] = tableReport_cwxx;
defaultObject.modules[tableReport_zcfzb.name] = tableReport_zcfzb;
defaultObject.modules[tableReport_RelationGraph.name] = tableReport_RelationGraph;

defaultObject.autoQuery = false;





